package javatelephone;
//import java.io.BufferedReader;
//import java.io.IOException;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

//import java.io.InputStreamReader;


public class Consola implements InterfaceUser{

	//@Override
        @Override
	public String DiscardTelephone() {
        try {
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader (isr);
         
              return br.readLine();
        } catch (IOException ex) {
            return null;
        }
       
	}

	@Override
	public void ViewMessageTelephone(String Message) {
		// TODO Auto-generated method stub
		System.out.print(Message);
	}
}